package sg.edu.nus.iss.club;

public class Person {
	
	private String surName;
	private String firstName;
	private String middleName;
	
	public Person(String surName, String firstName, String middleName) {
		super();
		this.surName = surName;
		this.firstName = firstName;
		this.middleName = middleName;
	}
	public Person(String surName, String firstName) {
		super();
		this.surName = surName;
		this.firstName = firstName;
	}
	
	public String getSurName() {
		return surName;
	}
	public void setSurName(String surName) {
		this.surName = surName;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getMiddleName() {
		return middleName;
	}
	public void setMiddleName(String middleName) {
		this.middleName = middleName;
	}
	
	public String show(){
		return "";
	}
	
	public boolean equals(Object obj){
		if (obj instanceof Person){
			Person p = (Person)obj;
			return (getFirstName() == p.firstName); 
		}
		return false;
	}

}
